﻿'<defenses>
'   <armor base="2122" effective="2122" percent="12.23" petBonus="-1"/>
'   <defense decreasePercent="0.00" increasePercent="0.00" plusDefense="0" rating="0" value="399.00"/>
'   <dodge increasePercent="0.00" percent="4.16" rating="0"/>
'   <parry increasePercent="0.00" percent="0.00" rating="0"/>
'   <block increasePercent="0.00" percent="0.00" rating="0"/>
'   <resilience damagePercent="2.80" hitPercent="1.27" value="120.00"/>
'</defenses>

Public Class Defenses
    Property Armor As DefensesArmor
    Property Defense As DefensesDefense
    Property Dodge As DefensesDefense
    Property Parry As DefensesParry
    Property Block As DefensesBlock
    Property Resilience As DefensesResilience
End Class

Public Class DefensesArmor
    Property Base As Integer
    Property Effective As Integer
    Property Percent As Double
    Property PetBonus As Integer
End Class
Public Class DefensesDefense
    Property DecreasePercent As Double
    Property IncreasePercent As Double
    Property PlusDefense As Double
    Property Rating As Integer
    Property Value As Double
End Class
Public Class DefensesDodge
    Property IncreasePercent As Double
    Property Percent As Double
    Property Rating As Integer
End Class
Public Class DefensesParry
    Property IncreasePercent As Double
    Property Percent As Double
    Property Rating As Integer
End Class
Public Class DefensesBlock
    Property IncreasePercent As Double
    Property Percent As Double
    Property Rating As Integer
End Class
Public Class DefensesResilience
    Property DamagePercent As Double
    Property HitPercent As Double
    Property Value As Double
End Class